package com.springcloud.travel.aviation.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springcloud.travel.aviation.dao.AviationMapper;
import com.springcloud.travel.aviation.service.AviationService;
import com.springcloud.travel.entity.Aviation;
import com.springcloud.travel.entity.City;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AviationServiceImpl extends ServiceImpl<AviationMapper,Aviation> implements AviationService {
    @Resource
    private AviationMapper aviationMapper;
    @Override
    public List<City> selectByPid(Integer pid) {
        return aviationMapper.selectByPid(pid);
    }

    @Override
    public List<Aviation> selectByAviationPid(Integer pid) {
        return aviationMapper.selectByAviationPid(pid);
    }
}
